package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;

public class PmsCombinedProduct implements Serializable {
    private Long id;

    @ApiModelProperty(value = "所属用户的id")
    private Long memberId;

    @ApiModelProperty(value = "所属用户的用户名")
    private String memberUserName;

    @ApiModelProperty(value = "所属店铺的id")
    private Long storeId;

    @ApiModelProperty(value = "所属父级商品的id")
    private Long parentId;

    @ApiModelProperty(value = "商品的skuid")
    private Long skuStockId;

    @ApiModelProperty(value = "该商品在组合商品中的价格")
    private BigDecimal combinedPrice;

    @ApiModelProperty(value = "该商品在组合商品中的数量")
    private Integer num;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberUserName() {
        return memberUserName;
    }

    public void setMemberUserName(String memberUserName) {
        this.memberUserName = memberUserName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getSkuStockId() {
        return skuStockId;
    }

    public void setSkuStockId(Long skuStockId) {
        this.skuStockId = skuStockId;
    }

    public BigDecimal getCombinedPrice() {
        return combinedPrice;
    }

    public void setCombinedPrice(BigDecimal combinedPrice) {
        this.combinedPrice = combinedPrice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", memberUserName=").append(memberUserName);
        sb.append(", storeId=").append(storeId);
        sb.append(", parentId=").append(parentId);
        sb.append(", skuStockId=").append(skuStockId);
        sb.append(", combinedPrice=").append(combinedPrice);
        sb.append(", num=").append(num);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}